function makeSalsary(base,performance){
    return base+performance;
}

const s5=10000;
const s6=20000;

let A,B,C;
A=makeSalsary(s5,3000);
B=makeSalsary(s6,4000);
C=makeSalsary(s5,2000);

console.log(A,B,C);